home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: in1.uu.net!allegra!alice!ark
- From: ark@research.att.com (Andrew Koenig)
- Subject: Re: Java?
- Message-ID: <DML3Cq.D0x@research.att.com>
- Organization: AT&T Research, Murray Hill NJ
- References: <4fe708$8vi@lainet2.lainet.com> <4fi0a0$fkb@news1.usa.pipeline.com>
- Date: Sat, 10 Feb 1996 23:46:02 GMT
-
- In article <4fi0a0$fkb@news1.usa.pipeline.com> grantp@usa.pipeline.com(Pete) writes:
-
- > Very roughly, Java is a subset of the C++ language.
-
- VERY roughly.
-
- For example, in C++, if you write
-
- x = y;
-
- where x and y are ordinary objects, that causes x to be a
- copy of y. If you do the same thing in Java, it causes x
- and y to refer to the same object, so that changing a member
- of x changes the corresponding member of y.
-
- I'm not saying that either treatment is ``better'' than the
- other -- each has advantages and disadvantages -- but such
- a fundamental difference ought not to be overlooked.
- --
- --Andrew Koenig
- ark@research.att.com
-